HousingBuilding

EntityType | Independent
Logical Entity Name | HousingBuilding
Default Table Name | HsBuilding
Logical Only | NO
Owner | dbo
Definition |
Note |

HousingBuilding Attributes

Attribute/Logical Rolename | Domain | Datatype | NULL | Definition
HsBuildingID |  | INTEGER | NO |
Code |  | CHAR(8) | NO |
Descrip |  | VARCHAR(120) | NO |
Comment |  | NVARCHAR(2000) | YES |
HsBuildingCategoriesID |  | INTEGER | NO |
syCampusID |  | INTEGER | NO |
CampusGroupId |  | INTEGER | YES |
BuildingImage |  | PICTURE | YES |
NormalCapacity |  | INTEGER | NO |
MaxCapacity |  | INTEGER | NO |
Gender |  | CHAR(1) | NO |
Active |  | BIT | NO |
OnCampus |  | BIT | NO |
UserID |  | INTEGER | NO |
DateAdded |  | DATETIME | NO |
DateLstMod |  | DATETIME | NO |
Ts |  | TIMESTAMP/DATE | NO |
CampusId |  | INTEGER | YES |

HousingBuilding Keys

Key Name | Key Type | Keys
HsBuilding_Code_U_N_IDX | Alternate Key | Code
PK_HsBuilding_HsBuildingID | PrimaryKey | HsBuildingID
HsBuilding_UserID_N_N_IDX | Inversion Entry | UserID
HsBuilding_SyCampusGrpID_N_N_IDX | Inversion Entry | CampusGroupId
HsBuilding_HsBuildingCategoriesID_N_N_IDX | Inversion Entry | HsBuildingCategoriesID
HsBuilding_syCampusID_N_N_IDX | Inversion Entry | syCampusID

HousingBuilding Relationships

Parent Relationships:

Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype
Campus | Non-Identifying | Zero or One to Zero or More |  |  |  | CampusId | NO
HsBuildingCategories | Non-Identifying | One To Zero or More |  |  |  | HsBuildingCategoriesID | NO
CampusGroup | Non-Identifying | Zero or One to Zero or More |  |  |  | CampusGroupId | NO
Campus | Non-Identifying | One To Zero or More |  |  |  | syCampusID | NO
Staff | Non-Identifying | One To Zero or More |  |  |  | UserID | NO

Child Relationships:

Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype
Incident | Non-Identifying | One To Zero or More |  |  |  |  | NO
HsBuildingAddress | Non-Identifying | One To Zero or More |  |  |  |  | NO
HsBuildingAmenities | Non-Identifying | One To Zero or More |  |  |  |  | NO
HsBuildingImages | Non-Identifying | One To Zero or More |  |  |  |  | NO
HsBuildingRooms | Non-Identifying | One To Zero or More |  |  |  |  | NO
HsBuildingSuites | Non-Identifying | One To Zero or More |  |  |  |  | NO
Incident | Non-Identifying | One To Zero or More |  |  |  |  | NO

HousingBuilding Check Constraints

Check Constraint Name | CheckConstraint

HousingBuilding Where Used - Model Usage

Mapped Object | Is User Defined? | Denormalization Mappings | Description | Bound Attachments
Logical dbo.HousingBuilding | NO |  |  |
Physical (Microsoft SQL Server) dbo.HsBuilding | NO |  |  |

HousingBuilding Where Used - Submodel Usage

Model | Submodel Usage
Logical | Main Model
Logical | Incidents
Physical (Microsoft SQL Server) | Main Model
Physical (Microsoft SQL Server) | Housing

HousingBuilding Data Movement Rules

Name | Type | Rule Text/Value